package com.dj.merchant.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author : Jimmy
 * @Date : 2020/12/16 18:04
 * @Desc : dj-version-tag
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OfflineStoreData {

    private Long storeId;

    private Integer storeTypeId;

    private Integer storeFormatId;

    private Integer martId;

    private Integer martBuildingId;

    private Integer martFloorId;

    private Integer martBunkId;

    private String facadeUrl;

    private String businessStartTime;

    private String businessEndTime;

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String createUser;

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private String updateUser;

    private Long merchantId;

    private String storeName;

    private String logoUrl;

    private Short approveStatus;

    private Short activeStatus;

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date openDate;

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date closeDate;

    private Date approvedDate;

    private Date rejectedDate;

    private String testFlag;

    private String contactPhone;

    private String description;

    private Integer businessType;
}
